﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace sqlPractice
{
    public partial class books : Form
    {
        public books()
        {
            InitializeComponent();
        }

        private void label6_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {

        }

        private void button_Save_Click(object sender, EventArgs e)
        {
            if (textBox_BName.Text == "" || textBox_Author.Text == "" || comboBox_CatStock.Text == "" || textBox_BNum.Text == "" || textBox_BPrice.Text == "")
            {
                MessageBox.Show("信息不完整，请填入完整信息！");
            }
            else
            {

            }
        }
    }
}
